// 传输中心
const route = {
  meta: {
    roles: ['transmission_center'],
    title: '传输中心',
    icon: 'chuanshuzhongxin-weixuan',
    activeIcon: 'chuanshuzhongxin-xuanzhong',
    group: 'data'
  },
  path: '/transmission_center',
  component: () => import(/* webpackChunkName: "main-index" */ '@views/index.vue'),
  redirect: '/transmission_center/index',
  children: [
    {
      meta: {
        roles: ['transmission_center']
      },
      path: 'index',
      name: 'downloadCenter',
      component: () => import(/* webpackChunkName: "download-center" */ '@/views/downloadCenter/index.vue'),
      children: [
        {
          meta: {
            roles: ['tx_export_task'],
            title: '导出任务',
            group: 'noGroup'
          },
          path: 'tx_export_task',
          name: 'tx_export_task',
          component: () => import(/* webpackChunkName: "download-tx_callsheet" */ '@/views/downloadCenter/export/index.vue')
        },
        {
          meta: {
            roles: ['tx_import_task'],
            title: '导入任务',
            group: 'noGroup'
          },
          path: 'tx_import_task',
          name: 'tx_import_task',
          component: () => import(/* webpackChunkName: "download-tx_record" */ '@/views/downloadCenter/import/index.vue')
        }
      ]
    }
  ]
}

export default route
